package com.cloud.basic.test;

import org.apache.commons.beanutils.ConvertUtils;
import org.junit.Test;

import java.math.BigDecimal;
import java.math.RoundingMode;
import java.util.Random;


/**
 * @program: basic
 * @description: 这个是什么？
 * @author: Cloud
 * @create: 2021/1/14 09:18:03
 */
public class What {

    public static int a = 456456456;

    public static void main(String[] args) {
//        String str2 = "123" + new String("456");
//        String str = "123456";
//        String str1 = new String("123456");
//        Integer a = 123456;
//        int i = str.hashCode();
//        int i1 = str1.hashCode();
//        System.out.println("i.hashCode() = "+i);
//        System.out.println("i1.hashCode() = "+i1);
//        System.out.println("a.hashCode() = " + a.hashCode());
//        System.out.println("str.equals(str1) = " + str.equals(str1));
//        System.out.println("str.equals(str2) = " + str.equals(str2));
//        System.out.println("str1.equals(str2) = " + str1.equals(str2));
//        System.out.println("a.equals(str) = " + a.equals(str));
        byte[] b1,b2,b3,b4;
        b1 = new byte[1024*1024];
        b2 = new byte[1024*1024];
        b3 = new byte[1024*1024];
        b4 = new byte[1024*1024];
//        b1 = null;
//        b2 = null;
//        b3 = null;
//        b4 = null;
        System.gc();
    }
}
